﻿<!-- "script/apps/Aries/Creator/Game/Login/SwfLoadingBarPage.mc.html?showbg=true" -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title></title>
</head>
<body>
<pe:mcml>
<script refresh="true" type="text/npl"><![CDATA[
NPL.load("(gl)script/kids/3DMapSystemUI/MiniGames/SwfLoadingBarPage.lua");
Map3DSystem.App.MiniGames.SwfLoadingBarPage.OnInit()

NPL.load("(gl)script/apps/Aries/Scene/WorldManager.lua");
local WorldManager = commonlib.gettable("MyCompany.Aries.WorldManager");

function GetEnterWorldText()
    if(worldname) then
        local world_info = WorldManager:GetWorldInfo(worldname);
        if(world_info and world_info.world_title) then
            return format(L"正在进入%s, 请耐心等待", world_info.world_title )
        end
    end
end

function GetTipText()
    local LoopTips = commonlib.gettable("MyCompany.Aries.Desktop.LoopTips");
    if(LoopTips.GetTip) then
        local tiptext = LoopTips.GetTip(true);
        if(type(tiptext) == "string") then
            return format("%s", tiptext);
        end
    end
end
]]></script>
<pe:if condition='<%=Page:GetRequestParam("showbg")=="true"%>'>
    <pe:container alignment="_fi" zorder="-1" width="100%" height="100%" style="position:relative;background:url(Texture/whitedot.png);background-color:#000000"></pe:container>
    <pe:container alignment="_ct" style="position:relative;background:;margin-left:-256px;margin-top:-170px;width:512px;height:256px;">
        <pe:if condition='<%=Page:GetRequestParam("showtoplogo") ~= "false"%>'>
            <div style='<%=L"position:relative;margin-left:0px;width:512px;height:178px;background:url(Texture/Aries/Creator/Mobile/blocks_Background.png#0 259 512 175);"%>'></div>
        </pe:if>
    </pe:container>
</pe:if>
<pe:container alignment="_mb" width="0" height="150px" style="position:relative;background:url(Texture/whitedot.png);background-color:#000000;">
    <pe:container alignment="_ctt" style="color:#ffffff;width:900px;height:90px;background:">
        <div style="margin-left:45px;height:55px;base-font-size:16;font-size:16px;">
            <div style="color:#ffffff;height:20px;"><%=GetEnterWorldText() or L"Loading ..."%></div>
            <pe:label name="txt_info_normal" style="margin-left:0px;margin-top:5px;color:#ffffff;width:800px;height:25px;" type="text"/>
        </div>
        <div style="margin-top:0px;">
            <div style="float:left;margin-left:30px;">
                <pe:progressbar name="progressbar_normal"  isshowtooltip = "true" 
                    background = "Texture/Aries/Login/Login/teen/loading_gray_32bits.png:7 7 8 8" 
                    blockimage = "Texture/Aries/Login/Login/teen/loading_green_32bits.png:7 7 8 8" 
                    block_overlay_bg="Texture/Aries/Login/Login/teen/progressbar_green_tile.png"
                    style="margin-top:3px;width:800px;height:16px;"/>
            </div>
            <div style="float:left;">
                <input name="txt_percent_advanced_open" style="margin-left:5px;margin-top:0px;font-size:14px;color:#ffffff;width:60px;height:20px;background:" type="button"/>
            </div>
        </div>
        <div align="center" style="width:900px;text-align:center;color:#ffffff;font-weight:bold;base-font-size:16;font-size:16px;">
            <%=GetTipText() or ""%>
        </div>
    </pe:container>
</pe:container>
</pe:mcml> 
</body>
</html>